package com.szgr.baoyin.utils;

import android.util.Log;

/**
 * Created by yang on 15/12/11.
 */
public class RLog {

        public static final String LOG_TAG = "rjp";
        public static boolean DEBUG = true;

        private RLog() {
        }

        public static final void s(String str){
            if(DEBUG)
                System.out.println(str);
        }

        public static final void d(String log) {
            if (DEBUG)
                Log.d(LOG_TAG, log);
        }

        public static final void e(String log) {
            if (DEBUG)
                Log.e(LOG_TAG, "" + log);
        }

        public static final void i(String log) {
            if (DEBUG)
                Log.i(LOG_TAG, log);
        }

        public static final void i(String tag, String log) {
            if (DEBUG)
                Log.i(tag, log);
        }

        public static final void v(String log) {
            if (DEBUG)
                Log.v(LOG_TAG, log);
        }

        public static final void w(String log) {
            if (DEBUG)
                Log.w(LOG_TAG, log);
        }

}
